﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/common.Master" AutoEventWireup="true"
    CodeBehind="news_explore.aspx.cs" Inherits="pcsse.MasterPages.WebForm2" Title="浏览新闻" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="hoder_sidebar" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="hoder_maincontent" runat="server">
    
    <div class="p_title">
    
        <asp:Label ID="lb_title" runat="server" Text="Label"></asp:Label>
    </div>
   
        <asp:Panel ID="Panel1" runat="server" Visible="false">
        
        
        <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
            Height="16px" Width="68px">
        </asp:DropDownList>
        <asp:Button ID="Button2" runat="server" Text="查询" OnClick="Button2_Click" />
    </asp:Panel>
    <div>
        <asp:DataList ID="DataList1" runat="server" Width="697px">
            <ItemTemplate>

                <div>
                [<asp:Label ID="Label1" runat="server" Text='<%# Eval("CATEGORY_TITLE") %>'></asp:Label>]
                <asp:LinkButton ID="HyperLink1" runat="server" OnClick="HyperLink1_Click" PostBackUrl='<%#"news_read.aspx?id="+Eval("NEWS_ID")%>'><%# Eval("TITLE") %></asp:LinkButton>
                <asp:Label ID="Label2" CssClass="date" runat="server" Text='<%# Eval("DATE") %>'></asp:Label>
                </div>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <div>
        <asp:LinkButton ID="LbPrev" runat="server" Text="前一页" OnClick="Prev_Click"></asp:LinkButton>
        <asp:LinkButton ID="LbNext" runat="server" Text="后一页" OnClick="Next_Click"></asp:LinkButton>
        <asp:Label ID="lbPage" runat="server" Text="1"></asp:Label>
        <asp:Label ID="LbPageCount" runat="server" Text="Label"></asp:Label>
    </div>
</asp:Content>
